<template>
	<view class="content">
		<!-- 个人信息头像 -->
		<view class="informationAvatar">
			<view class="Avatar">
				<u-avatar class="Avatarimg" :src="src" :size="size"></u-avatar>
				<image class="bannerAvatar" src="../../../static/image/me/headBanner.png" mode=""></image>
			</view>
		</view>
		<!-- 修改密码 -->
		<u-cell-item @click="toChangepwd" title="修改密码" hover-class="none">
		</u-cell-item>
		<!-- 退出登录 -->
		<view class="Logout">
			退出登录
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg',
				size: 144
			}
		},
		methods:{
			toChangepwd:function(){
				uni.navigateTo({
					url:'./Changepwd'
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.informationAvatar {
		.Avatar {
			height: 144rpx;
			width: 144rpx;
			// background-color: #000000;
			position: relative;
			margin: 88rpx auto 120rpx;

			.Avatarimg {}

			.bannerAvatar {
				height: 144rpx;
				width: 144rpx;
				position: absolute;
				top: 0;
				left: 0;
			}
		}
	}
	.Logout{
		width: 690rpx;
		height: 80rpx;
		background: #FFFFFF;
		border: 1rpx solid #E0E0E0;
		border-radius: 12rpx;
		text-align: center;
		line-height: 80rpx;
		font-size: 30rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #F24951;
		position: fixed;
		bottom: 24rpx;
		left: 30rpx;
	}
</style>
